<?php

namespace App\Models\Orm;
use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    protected $table = 'user';
    protected $fillable = [];
    /*
    * 获取提现的记录
    */
    public  function getUser()
    {
        return $this->hasOne(Userincome::class, 'user_id', 'id')->getResults();

    }

}
